package Stream.中间操作符;


import java.util.Arrays;
import java.util.List;
import java.util.stream.Collectors;

public class skip {
    public static void main(String[] args) {

        List<String> strings = Arrays.asList("ainde","dfdf","qwer","dfde");
        // skip : 去掉集合前面指定元素个数，skip(2) 把集合中的前面2个元素去掉，返回后面的
        System.out.println(strings.stream().skip(2).collect(Collectors.toList()));



    }
}
